package IMIC.NGUYENVANDOAN.OOP.CONTENT02;

public class DEMO {
    public static void main(String[] args) {
        // 1. Test 01
        ExecOf obj01 = new ExecOf(new IGeometricObjects() {
            @Override
            public void Processing() {
                for (int i = 0; i < 3; i++) {
                    System.out.println("Welcome to JAVA");
                }
            }
        });

        // 2. Test 02
        ExecOf obj02 = new ExecOf(new IGeometricObjects() {
            @Override
            public void Processing() {
                for (int i = 0; i < 3; i++) {
                    System.out.println("Welcome to .NET");
                }
            }
        });
    }
}
